import request from "@/utils/http";
import type { Result, ModelVo } from "@/types";

const model = {
  listModel(type: string) {
    return request.get("/gpt/model/getModelList", {
      type: type,
    }) as Promise<Result<Array<ModelVo>>>;
  },
};

export default model;
